﻿## -*- coding: utf-8 -*-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
        <title>
        %if page or single:
        	${post.title} | 
		%elif title:
			${title} | 
        %endif
        我看行
        </title>
		<link rel="icon" type="image/png"  href="/assets/qqi.png" />
		<link rel="shortcut icon" href="/assets/favicon.ico" type="image/x-icon">
        <link rel="alternate" type="application/atom+xml" href="/feed" title="我看部落格的Atom Feed" />
        <link rel="me" type="text/html" href="http://www.google.com/profiles/pizzamx"/> 
        <link rel="stylesheet" href="/assets/style_mobile.css" type="text/css" />
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
        <script type="text/javascript">
            $(document).ready(function(){
                $('.post_content img').css('width', $('#content').width() - 50 + 'px');
            });
        </script>
	</head>
	<body>
		<div id="header" style="width: 100%">
            <a id="logo" href="/" title="我看部落格"><div>我看部落格</div></a>
            <p id="tagline">坚持·厚道·平常心</p>
			<%def name="makeClass(path)">
				%if not redirectUrl or redirectUrl + '/' != baseUrl + path:
					page_item
 			    %else:
			    	page_item current_page_item
			    %endif
			</%def>
			<ul>
    			<li class="${makeClass('//')}"><a href="/">部落格</a></li>
    			<li class="${makeClass('/about/')}"><a href="/about">关于我</a></li>
			</ul>
            <div id="feedlink"><a href="/feed" title="叔叔阿姨订阅我吧！"><img src="/assets/feed-icon-14x14.png" alt="Atom feed" /></a></div>
            <div class="clear_bar"></div>
		</div>
